package com.atguigu.seckill.service;

import com.atguigu.seckill.pojo.User;
import com.atguigu.seckill.vo.CodeResponse;
import com.atguigu.seckill.vo.LoginVo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sjj
 * @since 2021-04-01
 */
public interface IUserService extends IService<User> {

    CodeResponse loginService(LoginVo loginVo, HttpServletRequest request,HttpServletResponse response);
    User getByUserTicket(String userTicket,HttpServletRequest request,HttpServletResponse response);
}
